//
//  MVListCollectionViewCell.m
//  CatMusic
//
//  Created by dllo on 15/4/23.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MVListCollectionViewCell.h"
#define WIDTH self.contentView.frame.size.width
#define HEIGHT self.contentView.frame.size.height
@implementation MVListCollectionViewCell

- (void)dealloc
{
    [_baseImageViewCollection release];
    [_baseTitleCollection release];
    [super dealloc];
}

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // 初始化ImageView  并设置位子
        self.baseImageViewCollection = [[UIImageView alloc]initWithFrame:CGRectMake( 5,  5, 150,  120)];
        [self.contentView addSubview:self.baseImageViewCollection];
        
        // 初始化label  并设置位子
        self.baseTitleCollection = [[UILabel alloc]initWithFrame:CGRectMake( 5,  130,  100 ,  20)];
        [self.contentView addSubview:self.baseTitleCollection];
        
        [_baseTitleCollection release];
        [_baseImageViewCollection release];
        
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.baseTitleCollection.font = [UIFont fontWithName:@"Arial" size:16];
    self.baseTitleCollection.textColor = [UIColor colorWithRed:85 / 255.0 green:85 / 255.0 blue:85 / 255.0 alpha:1];

}

@end
